package com.yuanluludev.app.navigationview

import androidx.fragment.app.Fragment
import com.yuanluludev.app.R
import com.yuanluludev.app.databinding.FragmentBlankThreeBinding
import com.yuanluludev.lib_base.base.BaseVMWithDBFragment
import com.yuanluludev.lib_base.base.BaseViewModel
import com.yuanluludev.lib_utils.util.BarUtils
import com.yuanluludev.lib_utils.util.ColorUtils
import com.yuanluludev.lib_utils.util.LogUtils
import kotlinx.android.synthetic.main.fragment_blank_one.*

/**
 * A simple [Fragment] subclass.
 * Use the [BlankThreeFragment.newInstance] factory method to
 * create an instance of this fragment.
 */
class BlankThreeFragment  : BaseVMWithDBFragment<BaseViewModel, FragmentBlankThreeBinding>() {

    override fun getLayoutResId() = R.layout.fragment_blank_three

    override fun viewModelClass() = BaseViewModel::class.java

    override fun initEvents() {
//        BarUtils.setStatusBarColor(titleBar, ColorUtils.getColor(R.color.color_666666))

    }

    override fun lazyLoadData() {
        LogUtils.e("==== 这是第三个 =====")
    }


    override fun onResume() {
        super.onResume()
        LogUtils.e("--------------${this.javaClass.simpleName}")
    }

}